package com.bdsy.api.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.bdsy.api.entity.Token;
import com.bdsy.system.model.User;
import com.bdsy.system.model.UserLog;

/**
 * ClassName:UserService
 * Description: TODO 添加描述.
 * @author   Administrator
 * @version  
 * @since    JDK 1.8
 */
public interface TokenService {

	public Token getAppTokenByUserid(String userId);
	
	public Token getToken(String token);
	
	public void save(Token token);
	
	public void update(Token token);
   
	public Map<String, Object> createToken(String userId);
	
}

